hook component React
書く
各componentのお決まりとか
親
on○○=handle〇〇
子に渡すイベントハンドラ
const handle〇〇= (newState)=> setState(newState)
子
props: on〇〇